﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_Flow_AddBangdingTeamLeader]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_Flow_AddBangdingTeamLeader];
GO
CREATE PROCEDURE [dbo].[sproc_Flow_AddBangdingTeamLeader]
    @FlowID int,
    @StepID int,
    @TeamID int
AS
INSERT INTO UDS_Flow_Member_Bind 
    (Flow_ID,Step_ID,Obj_ID,Obj_Type)
    VALUES(@FlowID,@StepID,@TeamID,5)